package request

type AddCommentForm struct {
	VideoId       int32  `form:"video_id" json:"video_id"  binding:"required"`                // 视频ID
	UserId        int32  `form:"user_id" json:"user_id"  binding:"required"`                  // 用户ID
	CommentId     int32  `form:"comment_id" json:"comment_id" binding:"required"`             // 父评论ID
	LoadCommentId int32  `form:"load_comment_id"  json:"load_comment_id"  binding:"required"` // 根评论ID
	Info          string `form:"info" json:"info"  binding:"required"`                        // 评论内容
}

type DeletedCommentForm struct {
	Id      uint32 `form:"id" json:"id"  binding:"required"`
	VideoId int32  `form:"video_id" json:"video_id"  binding:"required"` // 视频ID
	UserId  int32  `form:"user_id" json:"user_id"  binding:"required"`   // 用户ID
}

/*
type Comment struct {
	Id uint32 `json:"id"`
	VideoId int32 `json:"video_id"`// 视频ID
	UserId int32 `json:"user_id"`// 用户ID
	CommentId int32 `json:"comment_id"`// 父评论ID
	LoadCommentId int32 `json:"load_comment_id"`// 根评论ID
	Info string `json:"info"`// 评论内容
	CreatedAt time.Time `json:"created_at"`// 创建时间
	UpdatedAt time.Time `json:"updated_at"`
	DeletedAt time.Time `json:"deleted_at"`
}
binding:"required"
*/
